package com.sw.chinesewriteboard.activity;

import android.view.View;

import com.sw.chinesewriteboard.R;
import com.sw.chinesewriteboard.config.ChineseDataConfig;
import com.sw.chinesewriteboard.copybook.ZhCopybookActivity;
import com.sw.chinesewriteboard.operation.ChineseDataOperate;

/**
 * @Description: 汉字字帖
 * @author: GordenGao
 * @Email: gordengao124@gmail.com
 * @date: 2021年06月21日 9:26
 */
public class ZhWordCopybookActivity extends ZhCopybookActivity {

    @Override
    protected void initOwnView() {
//        setTitle("汉字字帖");
        ChineseDataConfig.setRow(16);
        binding.vbnBottomNavigation.initEnvironment(this, true);
        binding.vbnBottomNavigation.setContantHint("请输入生成字帖的汉字。例如：英文字帖");
        binding.vbnBottomNavigation.findViewById(R.id.vbn_gezi_csl_kongbaihang).setVisibility(View.GONE);
        binding.vbnBottomNavigation.findViewById(R.id.vbn_ziti_ll_alpha).setVisibility(View.GONE);
        binding.vbnBottomNavigation.findViewById(R.id.vbn_gezi_csl_miao).setVisibility(View.GONE);
    }

    @Override
    protected boolean isPinyinEnabled() {
        return false;
    }

    @Override
    protected boolean needInitDir() {
        return false;
    }

    @Override
    protected ChineseDataOperate.ArrangeType setArrangeType() {
        return ChineseDataOperate.ArrangeType.WORD;
    }
}
